package com.sxt.mapper;

import java.util.List;

import com.sxt.domain.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    /*
     * 根据username去查询用户
     */
    User queryUserByUserName(String username);
}